import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

const state = {

}
const mutations = {

}
const actions = {

}
const getters = {

}
const modules = {
  // 模块的名字是这里的属性的名字
}

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules
})